package com.bsoft.gol.hcs.specialist.bean.response;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * 关联指标response
 *
 * @author lanyu
 * @date 2021年10月22日 11:10
 */
public class CrucialRecordResponse {

    /**
     * 指标Code
     */
    private String indexType;
    /**
     * 指标名称
     */
    private String indexName;

    private String indexHpiCode;
    /**
     * 指标展示方式 1-折线图 2-其他
     */
    private String crucialType;

    private List<CrucialTimeRecordList> crucialTimeList;

    public String getIndexType() {
        return indexType;
    }

    public void setIndexType(String indexType) {
        this.indexType = indexType;
    }

    public String getIndexHpiCode() {
        return indexHpiCode;
    }

    public void setIndexHpiCode(String indexHpiCode) {
        this.indexHpiCode = indexHpiCode;
    }

    public String getCrucialType() {
        return crucialType;
    }

    public void setCrucialType(String crucialType) {
        this.crucialType = crucialType;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public List<CrucialTimeRecordList> getCrucialTimeList() {
        return crucialTimeList;
    }

    public void setCrucialTimeList(List<CrucialTimeRecordList> crucialTimeList) {
        this.crucialTimeList = crucialTimeList;
    }

    public class CrucialTimeList {
        /**
         * 指标Code
         */
        private String indexType;
        /**
         * 指标名称
         */
        private String indexName;

        /**
         * 指标检测值
         */
        private String indexValue;
        /**
         * 指标结果
         */
        private String indexResultContent;
        /**
         * 指标范围
         */
        private String refRange;
        /**
         * 指标结果内容 1 定量 2 定性
         */
        private String indexResultType;
        /**
         * 指标描述
         */
        private String indexDescription;
        /**
         * 指标生成时间
         */
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone="GMT+8")
        private Date crucialTime;

        public String getIndexType() {
            return indexType;
        }

        public void setIndexType(String indexType) {
            this.indexType = indexType;
        }

        public String getIndexName() {
            return indexName;
        }

        public void setIndexName(String indexName) {
            this.indexName = indexName;
        }

        public String getIndexResultContent() {
            return indexResultContent;
        }

        public void setIndexResultContent(String indexResultContent) {
            this.indexResultContent = indexResultContent;
        }

        public String getIndexValue() {
            return indexValue;
        }

        public void setIndexValue(String indexValue) {
            this.indexValue = indexValue;
        }

        public String getRefRange() {
            return refRange;
        }

        public void setRefRange(String refRange) {
            this.refRange = refRange;
        }

        public String getIndexResultType() {
            return indexResultType;
        }

        public void setIndexResultType(String indexResultType) {
            this.indexResultType = indexResultType;
        }

        public String getIndexDescription() {
            return indexDescription;
        }

        public void setIndexDescription(String indexDescription) {
            this.indexDescription = indexDescription;
        }

        public Date getCrucialTime() {
            return crucialTime;
        }

        public void setCrucialTime(Date crucialTime) {
            this.crucialTime = crucialTime;
        }
    }
}
